Use the actual xxd version instead of the vim one for packaging.
Add matching CI test.
Signed-off-by: George Sapkin <[email protected]>
PKG_NAME:=vim
PKG_VERSION:=9.1
-PKG_RELEASE:=1
+PKG_XXD_VERSION:=2023.10.25
+PKG_RELEASE:=2
VIMVER:=91
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
CATEGORY:=Utilities
TITLE:=make a hexdump or do the reverse
URL:=http://www.vim.org/
+ VERSION:=$(PKG_XXD_VERSION)
endef
define Package/vim-full/conffiles
case "$1" in
vim|vim-full|vim-fuller)
- vim --version | grep "$2"
+ vim --version | grep -F "$2"
+ ;;
+ xxd)
+ xxd --version 2>&1 | grep -F "${2//./-}"
;;
esac